package com.stu.disruptor.service;

import com.lmax.disruptor.EventFactory;

public class ObjectEventFactory<T> implements EventFactory<ObjectEvent<T>>{

    public ObjectEventFactory(){

    }

    @Override
    public ObjectEvent<T> newInstance() {
        return new ObjectEvent<>();
    }
}
